package com.jobcn.repository.bizopp;

import com.jobcn.entity.MerCertificate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by winson on 17-6-20.
 */
@Transactional
@Repository
public interface MerCertificateRepository extends JpaRepository<MerCertificate, Integer> {
    Long countByName(String name);
    MerCertificate findByMerid(Long merId);
}